{% extends "SLBackBundle::layout.html.twig" %}

	{% block title %}{{ parent() }} - Projet - Ajout d'images : {% endblock %}
	
	{% block body %}
		<div class="intro">
		<p>
		Ajout d'une ou plusieurs images<br />
		Les images seront ajoutées au projet <b>"{{ projet.name }}"</b><br />
		</p>
		</div>
		<div class="form">
			<form name="myform" action="{{ path('sl_back_projet_image_add', {'id' : projet.id}) }}" method="post" {{ form_enctype(form) }}>
				
				<div class="errorForm">
					{{ form_errors(form) }}
				</div>
			
				<div class="page-form">
					<table>
						Image #1 :<br />
						<td>
							<tr>{{ form_label(form.big1, "Image taille réel : ") }}</tr>
							<tr>{{ form_widget(form.big1) }}</tr><br />
						</td>
						<td>
							<tr>{{ form_label(form.small1, "Miniature de l'image : ") }}</tr>
							<tr>{{ form_widget(form.small1) }}</tr>
						</td><br /><br /><br />
						Image #2 :<br />
						<td>
							<tr>{{ form_label(form.big2, "Image taille réel : ") }}</tr>
							<tr>{{ form_widget(form.big2) }}</tr><br />
						</td>
						<td>
							<tr>{{ form_label(form.small2, "Miniature de l'image : ") }}</tr>
							<tr>{{ form_widget(form.small2) }}</tr>
						</td><br /><br /><br />
						Image #3 :<br />
						<td>
							<tr>{{ form_label(form.big3, "Image taille réel : ") }}</tr>
							<tr>{{ form_widget(form.big3) }}</tr><br />
						</td>
						<td>
							<tr>{{ form_label(form.small3, "Miniature de l'image : ") }}</tr>
							<tr>{{ form_widget(form.small3) }}</tr>
						</td><br /><br /><br />
						Image #4 :<br />
						<td>
							<tr>{{ form_label(form.big4, "Image taille réel : ") }}</tr>
							<tr>{{ form_widget(form.big4) }}</tr><br />
						</td>
						<td>
							<tr>{{ form_label(form.small4, "Miniature de l'image : ") }}</tr>
							<tr>{{ form_widget(form.small4) }}</tr>
						</td><br /><br /><br />
						Image #5 :<br />
						<td>
							<tr>{{ form_label(form.big5, "Image taille réel : ") }}</tr>
							<tr>{{ form_widget(form.big5) }}</tr><br />
						</td>
						<td>
							<tr>{{ form_label(form.small5, "Miniature de l'image : ") }}</tr>
							<tr>{{ form_widget(form.small5) }}</tr>
						</td><br /><br /><br />
						Image #6 :<br />
						<td>
							<tr>{{ form_label(form.big6, "Image taille réel : ") }}</tr>
							<tr>{{ form_widget(form.big6) }}</tr><br />
						</td>
						<td>
							<tr>{{ form_label(form.small6, "Miniature de l'image : ") }}</tr>
							<tr>{{ form_widget(form.small6) }}</tr>
						</td><br /><br /><br />
						Image #7 :<br />
						<td>
							<tr>{{ form_label(form.big7, "Image taille réel : ") }}</tr>
							<tr>{{ form_widget(form.big7) }}</tr><br />
						</td>
						<td>
							<tr>{{ form_label(form.small7, "Miniature de l'image : ") }}</tr>
							<tr>{{ form_widget(form.small7) }}</tr>
						</td><br /><br /><br />
						Image #8 :<br />
						<td>
							<tr>{{ form_label(form.big8, "Image taille réel : ") }}</tr>
							<tr>{{ form_widget(form.big8) }}</tr><br />
						</td>
						<td>
							<tr>{{ form_label(form.small8, "Miniature de l'image : ") }}</tr>
							<tr>{{ form_widget(form.small8) }}</tr>
						</td><br /><br /><br />
						Image #9 :<br />
						<td>
							<tr>{{ form_label(form.big9, "Image taille réel : ") }}</tr>
							<tr>{{ form_widget(form.big9) }}</tr><br />
						</td>
						<td>
							<tr>{{ form_label(form.small9, "Miniature de l'image : ") }}</tr>
							<tr>{{ form_widget(form.small9) }}</tr>
						</td><br /><br /><br />
						Image #10 :<br />
						<td>
							<tr>{{ form_label(form.big10, "Image taille réel : ") }}</tr>
							<tr>{{ form_widget(form.big10) }}</tr><br />
						</td>
						<td>
							<tr>{{ form_label(form.small10, "Miniature de l'image : ") }}</tr>
							<tr>{{ form_widget(form.small10) }}</tr>
						</td><br /><br /><br />
					</table>
					
					{{ form_rest(form) }}
				
					<input type="submit" value="Ajouter"/>
				</div>
			</form>
		</div>
	{% endblock %}